home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / prim / lisp.elc.z / lisp.elc
Emacs Compiled Lisp  |  1998-05-21  |  8.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 54 68 75 20 4a | 61 6e 20 32 32 20 31 34 |on Thu J|an 22 14|
|00000040| 3a 34 35 3a 32 32 20 31 | 39 39 38 0a 3b 3b 3b 20 |:45:22 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 78 65 | 6d 61 63 73 2d 32 30 2e |emacs/xe|macs-20.|
|00000090| 33 2f 6c 69 73 70 2f 70 | 72 69 6d 2f 6c 69 73 70 |3/lisp/p|rim/lisp|
|000000a0| 2e 65 6c 0a 3b 3b 3b 20 | 65 6d 61 63 73 20 76 65 |.el.;;; |emacs ve|
|000000b0| 72 73 69 6f 6e 20 32 30 | 2e 33 20 22 56 61 74 69 |rsion 20|.3 "Vati|
|000000c0| 63 61 6e 20 43 69 74 79 | 22 20 58 45 6d 61 63 73 |can City|" XEmacs|
|000000d0| 20 20 4c 75 63 69 64 2e | 0a 3b 3b 3b 20 62 79 74 | Lucid.|.;;; byt|
|000000e0| 65 63 6f 6d 70 20 76 65 | 72 73 69 6f 6e 20 32 2e |ecomp ve|rsion 2.|
|000000f0| 32 35 20 58 45 6d 61 63 | 73 3b 20 32 32 2d 4d 61 |25 XEmac|s; 22-Ma|
|00000100| 72 2d 39 36 2e 0a 3b 3b | 3b 20 6f 70 74 69 6d 69 |r-96..;;|; optimi|
|00000110| 7a 61 74 69 6f 6e 20 69 | 73 20 6f 6e 2e 0a 3b 3b |zation i|s on..;;|
|00000120| 3b 20 74 68 69 73 20 66 | 69 6c 65 20 75 73 65 73 |; this f|ile uses|
|00000130| 20 6f 70 63 6f 64 65 73 | 20 77 68 69 63 68 20 64 | opcodes| which d|
|00000140| 6f 20 6e 6f 74 20 65 78 | 69 73 74 20 69 6e 20 45 |o not ex|ist in E|
|00000150| 6d 61 63 73 20 31 39 2e | 0a 0a 28 69 66 20 28 61 |macs 19.|..(if (a|
|00000160| 6e 64 20 28 62 6f 75 6e | 64 70 20 27 65 6d 61 63 |nd (boun|dp 'emac|
|00000170| 73 2d 76 65 72 73 69 6f | 6e 29 0a 09 20 28 6f 72 |s-versio|n).. (or|
|00000180| 20 28 61 6e 64 20 28 62 | 6f 75 6e 64 70 20 27 65 | (and (b|oundp 'e|
|00000190| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 20 65 |poch::ve|rsion) e|
|000001a0| 70 6f 63 68 3a 3a 76 65 | 72 73 69 6f 6e 29 0a 09 |poch::ve|rsion)..|
|000001b0| 20 20 20 20 20 28 73 74 | 72 69 6e 67 2d 6c 65 73 | (st|ring-les|
|000001c0| 73 70 20 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |sp emacs|-version|
|000001d0| 20 22 32 30 22 29 29 29 | 0a 20 20 20 20 28 65 72 | "20")))|. (er|
|000001e0| 72 6f 72 20 22 60 6c 69 | 73 70 2e 65 6c 27 20 77 |ror "`li|sp.el' w|
|000001f0| 61 73 20 63 6f 6d 70 69 | 6c 65 64 20 66 6f 72 20 |as compi|led for |
|00000200| 45 6d 61 63 73 20 32 30 | 22 29 29 0a 0a 28 6f 72 |Emacs 20|"))..(or|
|00000210| 20 28 62 6f 75 6e 64 70 | 20 27 63 75 72 72 65 6e | (boundp| 'curren|
|00000220| 74 2d 6c 6f 61 64 2d 6c | 69 73 74 29 20 28 73 65 |t-load-l|ist) (se|
|00000230| 74 71 20 63 75 72 72 65 | 6e 74 2d 6c 6f 61 64 2d |tq curre|nt-load-|
|00000240| 6c 69 73 74 20 6e 69 6c | 29 29 0a 0a 0a 28 63 75 |list nil|))...(cu|
|00000250| 73 74 6f 6d 2d 64 65 63 | 6c 61 72 65 2d 76 61 72 |stom-dec|lare-var|
|00000260| 69 61 62 6c 65 20 27 64 | 65 66 75 6e 2d 70 72 6f |iable 'd|efun-pro|
|00000270| 6d 70 74 2d 72 65 67 65 | 78 70 20 27 6e 69 6c 20 |mpt-rege|xp 'nil |
|00000280| 22 2a 4e 6f 6e 2d 6e 69 | 6c 20 3d 3e 20 72 65 67 |"*Non-ni|l => reg|
|00000290| 65 78 70 20 74 6f 20 69 | 67 6e 6f 72 65 2c 20 62 |exp to i|gnore, b|
|000002a0| 65 66 6f 72 65 20 74 68 | 65 20 63 68 61 72 61 63 |efore th|e charac|
|000002b0| 74 65 72 20 74 68 61 74 | 20 73 74 61 72 74 73 20 |ter that| starts |
|000002c0| 61 20 64 65 66 75 6e 2e | 5c 6e 54 68 69 73 20 69 |a defun.|\nThis i|
|000002d0| 73 20 6f 6e 6c 79 20 6e | 65 63 65 73 73 61 72 79 |s only n|ecessary|
|000002e0| 20 69 66 20 74 68 65 20 | 6f 70 65 6e 69 6e 67 20 | if the |opening |
|000002f0| 70 61 72 65 6e 20 6f 72 | 20 62 72 61 63 65 20 69 |paren or| brace i|
|00000300| 73 20 6e 6f 74 20 69 6e | 20 63 6f 6c 75 6d 6e 20 |s not in| column |
|00000310| 30 2e 5c 6e 53 65 65 20 | 60 62 65 67 69 6e 6e 69 |0.\nSee |`beginni|
|00000320| 6e 67 2d 6f 66 2d 64 65 | 66 75 6e 27 2e 22 20 3a |ng-of-de|fun'." :|
|00000330| 74 79 70 65 20 27 28 63 | 68 6f 69 63 65 20 28 63 |type '(c|hoice (c|
|00000340| 6f 6e 73 74 20 3a 74 61 | 67 20 22 6e 6f 6e 65 22 |onst :ta|g "none"|
|00000350| 20 6e 69 6c 29 20 72 65 | 67 65 78 70 29 20 3a 67 | nil) re|gexp) :g|
|00000360| 72 6f 75 70 20 27 6c 69 | 73 70 29 0a 28 6d 61 6b |roup 'li|sp).(mak|
|00000370| 65 2d 76 61 72 69 61 62 | 6c 65 2d 62 75 66 66 65 |e-variab|le-buffe|
|00000380| 72 2d 6c 6f 63 61 6c 20 | 27 64 65 66 75 6e 2d 70 |r-local |'defun-p|
|00000390| 72 6f 6d 70 74 2d 72 65 | 67 65 78 70 29 0a 28 63 |rompt-re|gexp).(c|
|000003a0| 75 73 74 6f 6d 2d 64 65 | 63 6c 61 72 65 2d 76 61 |ustom-de|clare-va|
|000003b0| 72 69 61 62 6c 65 20 27 | 70 61 72 65 6e 73 2d 72 |riable '|parens-r|
|000003c0| 65 71 75 69 72 65 2d 73 | 70 61 63 65 73 20 27 74 |equire-s|paces 't|
|000003d0| 20 22 4e 6f 6e 2d 6e 69 | 6c 20 3d 3e 20 60 69 6e | "Non-ni|l => `in|
|000003e0| 73 65 72 74 2d 70 61 72 | 65 6e 74 68 65 73 65 73 |sert-par|entheses|
|000003f0| 27 20 73 68 6f 75 6c 64 | 20 69 6e 73 65 72 74 20 |' should| insert |
|00000400| 77 68 69 74 65 73 70 61 | 63 65 20 61 73 20 6e 65 |whitespa|ce as ne|
|00000410| 65 64 65 64 2e 22 20 3a | 74 79 70 65 20 27 62 6f |eded." :|type 'bo|
|00000420| 6f 6c 65 61 6e 20 3a 67 | 72 6f 75 70 20 27 65 64 |olean :g|roup 'ed|
|00000430| 69 74 69 6e 67 2d 62 61 | 73 69 63 73 20 3a 67 72 |iting-ba|sics :gr|
|00000440| 6f 75 70 20 27 6c 69 73 | 70 29 0a 23 40 31 35 39 |oup 'lis|p).#@159|
|00000450| 20 4d 6f 76 65 20 66 6f | 72 77 61 72 64 20 61 63 | Move fo|rward ac|
|00000460| 72 6f 73 73 20 6f 6e 65 | 20 62 61 6c 61 6e 63 65 |ross one| balance|
|00000470| 64 20 65 78 70 72 65 73 | 73 69 6f 6e 20 28 73 65 |d expres|sion (se|
|00000480| 78 70 29 2e 0a 57 69 74 | 68 20 61 72 67 75 6d 65 |xp)..Wit|h argume|
|00000490| 6e 74 2c 20 64 6f 20 69 | 74 20 74 68 61 74 20 6d |nt, do i|t that m|
|000004a0| 61 6e 79 20 74 69 6d 65 | 73 2e 20 20 4e 65 67 61 |any time|s. Nega|
|000004b0| 74 69 76 65 20 61 72 67 | 20 2d 4e 20 6d 65 61 6e |tive arg| -N mean|
|000004c0| 73 0a 6d 6f 76 65 20 62 | 61 63 6b 77 61 72 64 20 |s.move b|ackward |
|000004d0| 61 63 72 6f 73 73 20 4e | 20 62 61 6c 61 6e 63 65 |across N| balance|
|000004e0| 64 20 65 78 70 72 65 73 | 73 69 6f 6e 73 2e 1f 0a |d expres|sions...|
|000004f0| 28 64 65 66 61 6c 69 61 | 73 20 27 66 6f 72 77 61 |(defalia|s 'forwa|
|00000500| 72 64 2d 73 65 78 70 20 | 23 5b 28 26 6f 70 74 69 |rd-sexp |#[(&opti|
|00000510| 6f 6e 61 6c 20 61 72 67 | 29 20 22 08 ac 82 c1 10 |onal arg|) ".....|
|00000520| 08 c2 56 ab 8a c3 c4 21 | ab 85 60 c5 5c 5c 62 88 |..V....!|..`.\\b.|
|00000530| c6 60 08 5c 22 ae 83 c7 | 08 21 62 88 08 c2 57 ab |.`.\"...|.!b...W.|
|00000540| 83 c8 20 88 08 c2 57 ad | a0 60 66 c9 61 ad 9a 60 |.. ...W.|.`f.a..`|
|00000550| 65 5a c5 59 ad 93 60 53 | 66 ca 61 ad 8c 60 c5 5a |eZ.Y..`S|f.a..`.Z|
|00000560| 66 cb 61 ad 84 60 c5 5a | 62 87 22 20 5b 61 72 67 |f.a..`.Z|b." [arg|
|00000570| 20 31 20 30 20 6c 6f 6f | 6b 69 6e 67 2d 61 74 20 | 1 0 loo|king-at |
|00000580| 22 23 73 28 22 20 32 20 | 73 63 61 6e 2d 73 65 78 |"#s(" 2 |scan-sex|
|00000590| 70 73 20 62 75 66 66 65 | 72 2d 65 6e 64 20 62 61 |ps buffe|r-end ba|
|000005a0| 63 6b 77 61 72 64 2d 70 | 72 65 66 69 78 2d 63 68 |ckward-p|refix-ch|
|000005b0| 61 72 73 20 3f 5c 28 20 | 3f 73 20 3f 5c 23 5d 20 |ars ?\( |?s ?\#] |
|000005c0| 33 20 28 23 24 20 2e 20 | 31 31 30 35 29 20 22 5f |3 (#$ . |1105) "_|
|000005d0| 70 22 5d 29 0a 23 40 31 | 35 39 20 4d 6f 76 65 20 |p"]).#@1|59 Move |
|000005e0| 62 61 63 6b 77 61 72 64 | 20 61 63 72 6f 73 73 20 |backward| across |
|000005f0| 6f 6e 65 20 62 61 6c 61 | 6e 63 65 64 20 65 78 70 |one bala|nced exp|
|00000600| 72 65 73 73 69 6f 6e 20 | 28 73 65 78 70 29 2e 0a |ression |(sexp)..|
|00000610| 57 69 74 68 20 61 72 67 | 75 6d 65 6e 74 2c 20 64 |With arg|ument, d|
|00000620| 6f 20 69 74 20 74 68 61 | 74 20 6d 61 6e 79 20 74 |o it tha|t many t|
|00000630| 69 6d 65 73 2e 20 20 4e | 65 67 61 74 69 76 65 20 |imes. N|egative |
|00000640| 61 72 67 20 2d 4e 20 6d | 65 61 6e 73 0a 6d 6f 76 |arg -N m|eans.mov|
|00000650| 65 20 66 6f 72 77 61 72 | 64 20 61 63 72 6f 73 73 |e forwar|d across|
|00000660| 20 4e 20 62 61 6c 61 6e | 63 65 64 20 65 78 70 72 | N balan|ced expr|
|00000670| 65 73 73 69 6f 6e 73 2e | 1f 0a 28 64 65 66 61 6c |essions.|..(defal|
|00000680| 69 61 73 20 27 62 61 63 | 6b 77 61 72 64 2d 73 65 |ias 'bac|kward-se|
|00000690| 78 70 20 23 5b 28 26 6f | 70 74 69 6f 6e 61 6c 20 |xp #[(&o|ptional |
|000006a0| 61 72 67 29 20 22 08 ac | 82 c1 10 c2 08 5b 21 87 |arg) "..|.....[!.|
|000006b0| 22 20 5b 61 72 67 20 31 | 20 66 6f 72 77 61 72 64 |" [arg 1| forward|
|000006c0| 2d 73 65 78 70 5d 20 32 | 20 28 23 24 20 2e 20 31 |-sexp] 2| (#$ . 1|
|000006d0| 34 39 39 29 20 22 5f 70 | 22 5d 29 0a 23 40 31 38 |499) "_p|"]).#@18|
|000006e0| 36 20 53 65 74 20 6d 61 | 72 6b 20 41 52 47 20 73 |6 Set ma|rk ARG s|
|000006f0| 65 78 70 73 20 66 72 6f | 6d 20 70 6f 69 6e 74 2e |exps fro|m point.|
|00000700| 0a 54 68 65 20 70 6c 61 | 63 65 20 6d 61 72 6b 20 |.The pla|ce mark |
|00000710| 67 6f 65 73 20 69 73 20 | 74 68 65 20 73 61 6d 65 |goes is |the same|
|00000720| 20 70 6c 61 63 65 20 5c | 5b 66 6f 72 77 61 72 64 | place \|[forward|
|00000730| 2d 73 65 78 70 5d 20 77 | 6f 75 6c 64 0a 6d 6f 76 |-sexp] w|ould.mov|
|00000740| 65 20 74 6f 20 77 69 74 | 68 20 74 68 65 20 73 61 |e to wit|h the sa|
|00000750| 6d 65 20 61 72 67 75 6d | 65 6e 74 2e 0a 52 65 70 |me argum|ent..Rep|
|00000760| 65 61 74 20 74 68 69 73 | 20 63 6f 6d 6d 61 6e 64 |eat this| command|
|00000770| 20 74 6f 20 6d 61 72 6b | 20 6d 6f 72 65 20 73 65 | to mark| more se|
|00000780| 78 70 73 20 69 6e 20 74 | 68 65 20 73 61 6d 65 20 |xps in t|he same |
|00000790| 64 69 72 65 63 74 69 6f | 6e 2e 1f 0a 28 64 65 66 |directio|n...(def|
|000007a0| 61 6c 69 61 73 20 27 6d | 61 72 6b 2d 73 65 78 70 |alias 'm|ark-sexp|
|000007b0| 20 23 5b 28 61 72 67 29 | 20 22 c0 c1 c2 0b 23 87 | #[(arg)| "....#.|
|000007c0| 22 20 5b 6d 61 72 6b 2d | 73 6f 6d 65 74 68 69 6e |" [mark-|somethin|
|000007d0| 67 20 6d 61 72 6b 2d 73 | 65 78 70 20 66 6f 72 77 |g mark-s|exp forw|
|000007e0| 61 72 64 2d 73 65 78 70 | 20 61 72 67 5d 20 34 20 |ard-sexp| arg] 4 |
|000007f0| 28 23 24 20 2e 20 31 37 | 36 32 29 20 22 70 22 5d |(#$ . 17|62) "p"]|
|00000800| 29 0a 23 40 31 36 32 20 | 4d 6f 76 65 20 66 6f 72 |).#@162 |Move for|
|00000810| 77 61 72 64 20 61 63 72 | 6f 73 73 20 6f 6e 65 20 |ward acr|oss one |
|00000820| 62 61 6c 61 6e 63 65 64 | 20 67 72 6f 75 70 20 6f |balanced| group o|
|00000830| 66 20 70 61 72 65 6e 74 | 68 65 73 65 73 2e 0a 57 |f parent|heses..W|
|00000840| 69 74 68 20 61 72 67 75 | 6d 65 6e 74 2c 20 64 6f |ith argu|ment, do|
|00000850| 20 69 74 20 74 68 61 74 | 20 6d 61 6e 79 20 74 69 | it that| many ti|
|00000860| 6d 65 73 2e 0a 4e 65 67 | 61 74 69 76 65 20 61 72 |mes..Neg|ative ar|
|00000870| 67 20 2d 4e 20 6d 65 61 | 6e 73 20 6d 6f 76 65 20 |g -N mea|ns move |
|00000880| 62 61 63 6b 77 61 72 64 | 20 61 63 72 6f 73 73 20 |backward| across |
|00000890| 4e 20 67 72 6f 75 70 73 | 20 6f 66 20 70 61 72 65 |N groups| of pare|
|000008a0| 6e 74 68 65 73 65 73 2e | 1f 0a 28 64 65 66 61 6c |ntheses.|..(defal|
|000008b0| 69 61 73 20 27 66 6f 72 | 77 61 72 64 2d 6c 69 73 |ias 'for|ward-lis|
|000008c0| 74 20 23 5b 28 26 6f 70 | 74 69 6f 6e 61 6c 20 61 |t #[(&op|tional a|
|000008d0| 72 67 29 20 22 08 ac 82 | c1 10 c2 60 08 c3 23 ae |rg) "...|...`..#.|
|000008e0| 83 c4 08 21 62 87 22 20 | 5b 61 72 67 20 31 20 73 |...!b." |[arg 1 s|
|000008f0| 63 61 6e 2d 6c 69 73 74 | 73 20 30 20 62 75 66 66 |can-list|s 0 buff|
|00000900| 65 72 2d 65 6e 64 5d 20 | 34 20 28 23 24 20 2e 20 |er-end] |4 (#$ . |
|00000910| 32 30 35 36 29 20 22 5f | 70 22 5d 29 0a 23 40 31 |2056) "_|p"]).#@1|
|00000920| 36 32 20 4d 6f 76 65 20 | 62 61 63 6b 77 61 72 64 |62 Move |backward|
|00000930| 20 61 63 72 6f 73 73 20 | 6f 6e 65 20 62 61 6c 61 | across |one bala|
|00000940| 6e 63 65 64 20 67 72 6f | 75 70 20 6f 66 20 70 61 |nced gro|up of pa|
|00000950| 72 65 6e 74 68 65 73 65 | 73 2e 0a 57 69 74 68 20 |renthese|s..With |
|00000960| 61 72 67 75 6d 65 6e 74 | 2c 20 64 6f 20 69 74 20 |argument|, do it |
|00000970| 74 68 61 74 20 6d 61 6e | 79 20 74 69 6d 65 73 2e |that man|y times.|
|00000980| 0a 4e 65 67 61 74 69 76 | 65 20 61 72 67 20 2d 4e |.Negativ|e arg -N|
|00000990| 20 6d 65 61 6e 73 20 6d | 6f 76 65 20 66 6f 72 77 | means m|ove forw|
|000009a0| 61 72 64 20 61 63 72 6f | 73 73 20 4e 20 67 72 6f |ard acro|ss N gro|
|000009b0| 75 70 73 20 6f 66 20 70 | 61 72 65 6e 74 68 65 73 |ups of p|arenthes|
|000009c0| 65 73 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |es...(de|falias '|
|000009d0| 62 61 63 6b 77 61 72 64 | 2d 6c 69 73 74 20 23 5b |backward|-list #[|
|000009e0| 28 26 6f 70 74 69 6f 6e | 61 6c 20 61 72 67 29 20 |(&option|al arg) |
|000009f0| 22 08 ac 82 c1 10 c2 08 | 5b 21 87 22 20 5b 61 72 |".......|[!." [ar|
|00000a00| 67 20 31 20 66 6f 72 77 | 61 72 64 2d 6c 69 73 74 |g 1 forw|ard-list|
|00000a10| 5d 20 32 20 28 23 24 20 | 2e 20 32 33 33 39 29 20 |] 2 (#$ |. 2339) |
|00000a20| 22 5f 70 22 5d 29 0a 23 | 40 31 39 35 20 4d 6f 76 |"_p"]).#|@195 Mov|
|00000a30| 65 20 66 6f 72 77 61 72 | 64 20 64 6f 77 6e 20 6f |e forwar|d down o|
|00000a40| 6e 65 20 6c 65 76 65 6c | 20 6f 66 20 70 61 72 65 |ne level| of pare|
|00000a50| 6e 74 68 65 73 65 73 2e | 0a 57 69 74 68 20 61 72 |ntheses.|.With ar|
|00000a60| 67 75 6d 65 6e 74 2c 20 | 64 6f 20 74 68 69 73 20 |gument, |do this |
|00000a70| 74 68 61 74 20 6d 61 6e | 79 20 74 69 6d 65 73 2e |that man|y times.|
|00000a80| 0a 41 20 6e 65 67 61 74 | 69 76 65 20 61 72 67 75 |.A negat|ive argu|
|00000a90| 6d 65 6e 74 20 6d 65 61 | 6e 73 20 6d 6f 76 65 20 |ment mea|ns move |
|00000aa0| 62 61 63 6b 77 61 72 64 | 20 62 75 74 20 73 74 69 |backward| but sti|
|00000ab0| 6c 6c 20 67 6f 20 64 6f | 77 6e 20 61 20 6c 65 76 |ll go do|wn a lev|
|00000ac0| 65 6c 2e 0a 49 6e 20 4c | 69 73 70 20 70 72 6f 67 |el..In L|isp prog|
|00000ad0| 72 61 6d 73 2c 20 61 6e | 20 61 72 67 75 6d 65 6e |rams, an| argumen|
|00000ae0| 74 20 69 73 20 72 65 71 | 75 69 72 65 64 2e 1f 0a |t is req|uired...|
|00000af0| 28 64 65 66 61 6c 69 61 | 73 20 27 64 6f 77 6e 2d |(defalia|s 'down-|
|00000b00| 6c 69 73 74 20 23 5b 28 | 61 72 67 29 20 22 08 c1 |list #[(|arg) "..|
|00000b10| 56 ab 83 c2 aa 81 c3 1c | 08 c1 55 3f ad 93 c5 60 |V.......|..U?...`|
|00000b20| 0c c3 23 ae 83 c6 08 21 | 62 88 08 0c 5a 89 10 aa |..#....!|b...Z...|
|00000b30| 68 29 87 22 20 5b 61 72 | 67 20 30 20 31 20 2d 31 |h)." [ar|g 0 1 -1|
|00000b40| 20 69 6e 63 20 73 63 61 | 6e 2d 6c 69 73 74 73 20 | inc sca|n-lists |
|00000b50| 62 75 66 66 65 72 2d 65 | 6e 64 5d 20 35 20 28 23 |buffer-e|nd] 5 (#|
|00000b60| 24 20 2e 20 32 36 30 35 | 29 20 22 5f 70 22 5d 29 |$ . 2605|) "_p"])|
|00000b70| 0a 23 40 32 30 31 20 4d | 6f 76 65 20 62 61 63 6b |.#@201 M|ove back|
|00000b80| 77 61 72 64 20 6f 75 74 | 20 6f 66 20 6f 6e 65 20 |ward out| of one |
|00000b90| 6c 65 76 65 6c 20 6f 66 | 20 70 61 72 65 6e 74 68 |level of| parenth|
|00000ba0| 65 73 65 73 2e 0a 57 69 | 74 68 20 61 72 67 75 6d |eses..Wi|th argum|
|00000bb0| 65 6e 74 2c 20 64 6f 20 | 74 68 69 73 20 74 68 61 |ent, do |this tha|
|00000bc0| 74 20 6d 61 6e 79 20 74 | 69 6d 65 73 2e 0a 41 20 |t many t|imes..A |
|00000bd0| 6e 65 67 61 74 69 76 65 | 20 61 72 67 75 6d 65 6e |negative| argumen|
|00000be0| 74 20 6d 65 61 6e 73 20 | 6d 6f 76 65 20 66 6f 72 |t means |move for|
|00000bf0| 77 61 72 64 20 62 75 74 | 20 73 74 69 6c 6c 20 74 |ward but| still t|
|00000c00| 6f 20 61 20 6c 65 73 73 | 20 64 65 65 70 20 73 70 |o a less| deep sp|
|00000c10| 6f 74 2e 0a 49 6e 20 4c | 69 73 70 20 70 72 6f 67 |ot..In L|isp prog|
|00000c20| 72 61 6d 73 2c 20 61 6e | 20 61 72 67 75 6d 65 6e |rams, an| argumen|
|00000c30| 74 20 69 73 20 72 65 71 | 75 69 72 65 64 2e 1f 0a |t is req|uired...|
|00000c40| 28 64 65 66 61 6c 69 61 | 73 20 27 62 61 63 6b 77 |(defalia|s 'backw|
|00000c50| 61 72 64 2d 75 70 2d 6c | 69 73 74 20 23 5b 28 61 |ard-up-l|ist #[(a|
|00000c60| 72 67 29 20 22 c0 09 5b | 21 87 22 20 5b 75 70 2d |rg) "..[|!." [up-|
|00000c70| 6c 69 73 74 20 61 72 67 | 5d 20 32 20 28 23 24 20 |list arg|] 2 (#$ |
|00000c80| 2e 20 32 39 33 35 29 20 | 22 5f 70 22 5d 29 0a 23 |. 2935) |"_p"]).#|
|00000c90| 40 32 30 31 20 4d 6f 76 | 65 20 66 6f 72 77 61 72 |@201 Mov|e forwar|
|00000ca0| 64 20 6f 75 74 20 6f 66 | 20 6f 6e 65 20 6c 65 76 |d out of| one lev|
|00000cb0| 65 6c 20 6f 66 20 70 61 | 72 65 6e 74 68 65 73 65 |el of pa|renthese|
|00000cc0| 73 2e 0a 57 69 74 68 20 | 61 72 67 75 6d 65 6e 74 |s..With |argument|
|00000cd0| 2c 20 64 6f 20 74 68 69 | 73 20 74 68 61 74 20 6d |, do thi|s that m|
|00000ce0| 61 6e 79 20 74 69 6d 65 | 73 2e 0a 41 20 6e 65 67 |any time|s..A neg|
|00000cf0| 61 74 69 76 65 20 61 72 | 67 75 6d 65 6e 74 20 6d |ative ar|gument m|
|00000d00| 65 61 6e 73 20 6d 6f 76 | 65 20 62 61 63 6b 77 61 |eans mov|e backwa|
|00000d10| 72 64 20 62 75 74 20 73 | 74 69 6c 6c 20 74 6f 20 |rd but s|till to |
|00000d20| 61 20 6c 65 73 73 20 64 | 65 65 70 20 73 70 6f 74 |a less d|eep spot|
|00000d30| 2e 0a 49 6e 20 4c 69 73 | 70 20 70 72 6f 67 72 61 |..In Lis|p progra|
|00000d40| 6d 73 2c 20 61 6e 20 61 | 72 67 75 6d 65 6e 74 20 |ms, an a|rgument |
|00000d50| 69 73 20 72 65 71 75 69 | 72 65 64 2e 1f 0a 28 64 |is requi|red...(d|
|00000d60| 65 66 61 6c 69 61 73 20 | 27 75 70 2d 6c 69 73 74 |efalias |'up-list|
|00000d70| 20 23 5b 28 61 72 67 29 | 20 22 08 c1 56 ab 83 c2 | #[(arg)| "..V...|
|00000d80| aa 81 c3 1c 08 c1 55 3f | ad 93 c5 60 0c c2 23 ae |......U?|...`..#.|
|00000d90| 83 c6 08 21 62 88 08 0c | 5a 89 10 aa 68 29 87 22 |...!b...|Z...h)."|
|00000da0| 20 5b 61 72 67 20 30 20 | 31 20 2d 31 20 69 6e 63 | [arg 0 |1 -1 inc|
|00000db0| 20 73 63 61 6e 2d 6c 69 | 73 74 73 20 62 75 66 66 | scan-li|sts buff|
|00000dc0| 65 72 2d 65 6e 64 5d 20 | 35 20 28 23 24 20 2e 20 |er-end] |5 (#$ . |
|00000dd0| 33 32 32 31 29 20 22 5f | 70 22 5d 29 0a 23 40 31 |3221) "_|p"]).#@1|
|00000de0| 36 37 20 4b 69 6c 6c 20 | 74 68 65 20 73 65 78 70 |67 Kill |the sexp|
|00000df0| 20 28 62 61 6c 61 6e 63 | 65 64 20 65 78 70 72 65 | (balanc|ed expre|
|00000e00| 73 73 69 6f 6e 29 20 66 | 6f 6c 6c 6f 77 69 6e 67 |ssion) f|ollowing|
|00000e10| 20 74 68 65 20 63 75 72 | 73 6f 72 2e 0a 57 69 74 | the cur|sor..Wit|
|00000e20| 68 20 61 72 67 75 6d 65 | 6e 74 2c 20 6b 69 6c 6c |h argume|nt, kill|
|00000e30| 20 74 68 61 74 20 6d 61 | 6e 79 20 73 65 78 70 73 | that ma|ny sexps|
|00000e40| 20 61 66 74 65 72 20 74 | 68 65 20 63 75 72 73 6f | after t|he curso|
|00000e50| 72 2e 0a 4e 65 67 61 74 | 69 76 65 20 61 72 67 20 |r..Negat|ive arg |
|00000e60| 2d 4e 20 6d 65 61 6e 73 | 20 6b 69 6c 6c 20 4e 20 |-N means| kill N |
|00000e70| 73 65 78 70 73 20 62 65 | 66 6f 72 65 20 74 68 65 |sexps be|fore the|
|00000e80| 20 63 75 72 73 6f 72 2e | 1f 0a 28 64 65 66 61 6c | cursor.|..(defal|
|00000e90| 69 61 73 20 27 6b 69 6c | 6c 2d 73 65 78 70 20 23 |ias 'kil|l-sexp #|
|00000ea0| 5b 28 61 72 67 29 20 22 | 60 18 c1 5c 6e 21 88 c3 |[(arg) "|`..\n!..|
|00000eb0| 08 60 5c 22 29 87 22 20 | 5b 6f 70 6f 69 6e 74 20 |.`\")." |[opoint |
|00000ec0| 66 6f 72 77 61 72 64 2d | 73 65 78 70 20 61 72 67 |forward-|sexp arg|
|00000ed0| 20 6b 69 6c 6c 2d 72 65 | 67 69 6f 6e 5d 20 33 20 | kill-re|gion] 3 |
|00000ee0| 28 23 24 20 2e 20 33 35 | 35 35 29 20 22 70 22 5d |(#$ . 35|55) "p"]|
|00000ef0| 29 0a 23 40 31 36 37 20 | 4b 69 6c 6c 20 74 68 65 |).#@167 |Kill the|
|00000f00| 20 73 65 78 70 20 28 62 | 61 6c 61 6e 63 65 64 20 | sexp (b|alanced |
|00000f10| 65 78 70 72 65 73 73 69 | 6f 6e 29 20 70 72 65 63 |expressi|on) prec|
|00000f20| 65 64 69 6e 67 20 74 68 | 65 20 63 75 72 73 6f 72 |eding th|e cursor|
|00000f30| 2e 0a 57 69 74 68 20 61 | 72 67 75 6d 65 6e 74 2c |..With a|rgument,|
|00000f40| 20 6b 69 6c 6c 20 74 68 | 61 74 20 6d 61 6e 79 20 | kill th|at many |
|00000f50| 73 65 78 70 73 20 62 65 | 66 6f 72 65 20 74 68 65 |sexps be|fore the|
|00000f60| 20 63 75 72 73 6f 72 2e | 0a 4e 65 67 61 74 69 76 | cursor.|.Negativ|
|00000f70| 65 20 61 72 67 20 2d 4e | 20 6d 65 61 6e 73 20 6b |e arg -N| means k|
|00000f80| 69 6c 6c 20 4e 20 73 65 | 78 70 73 20 61 66 74 65 |ill N se|xps afte|
|00000f90| 72 20 74 68 65 20 63 75 | 72 73 6f 72 2e 1f 0a 28 |r the cu|rsor...(|
|00000fa0| 64 65 66 61 6c 69 61 73 | 20 27 62 61 63 6b 77 61 |defalias| 'backwa|
|00000fb0| 72 64 2d 6b 69 6c 6c 2d | 73 65 78 70 20 23 5b 28 |rd-kill-|sexp #[(|
|00000fc0| 61 72 67 29 20 22 c0 09 | 5b 21 87 22 20 5b 6b 69 |arg) "..|[!." [ki|
|00000fd0| 6c 6c 2d 73 65 78 70 20 | 61 72 67 5d 20 32 20 28 |ll-sexp |arg] 2 (|
|00000fe0| 23 24 20 2e 20 33 38 33 | 32 29 20 22 70 22 5d 29 |#$ . 383|2) "p"])|
|00000ff0| 0a 23 40 34 38 34 20 4d | 6f 76 65 20 62 61 63 6b |.#@484 M|ove back|
|00001000| 77 61 72 64 20 74 6f 20 | 74 68 65 20 62 65 67 69 |ward to |the begi|
|00001010| 6e 6e 69 6e 67 20 6f 66 | 20 61 20 64 65 66 75 6e |nning of| a defun|
|00001020| 2e 0a 57 69 74 68 20 61 | 72 67 75 6d 65 6e 74 2c |..With a|rgument,|
|00001030| 20 64 6f 20 69 74 20 74 | 68 61 74 20 6d 61 6e 79 | do it t|hat many|
|00001040| 20 74 69 6d 65 73 2e 20 | 20 4e 65 67 61 74 69 76 | times. | Negativ|
|00001050| 65 20 61 72 67 20 2d 4e | 0a 6d 65 61 6e 73 20 6d |e arg -N|.means m|
|00001060| 6f 76 65 20 66 6f 72 77 | 61 72 64 20 74 6f 20 4e |ove forw|ard to N|
|00001070| 74 68 20 66 6f 6c 6c 6f | 77 69 6e 67 20 62 65 67 |th follo|wing beg|
|00001080| 69 6e 6e 69 6e 67 20 6f | 66 20 64 65 66 75 6e 2e |inning o|f defun.|
|00001090| 0a 52 65 74 75 72 6e 73 | 20 74 20 75 6e 6c 65 73 |.Returns| t unles|
|000010a0| 73 20 73 65 61 72 63 68 | 20 73 74 6f 70 73 20 64 |s search| stops d|
|000010b0| 75 65 20 74 6f 20 62 65 | 67 69 6e 6e 69 6e 67 20 |ue to be|ginning |
|000010c0| 6f 72 20 65 6e 64 20 6f | 66 20 62 75 66 66 65 72 |or end o|f buffer|
|000010d0| 2e 0a 0a 4e 6f 72 6d 61 | 6c 6c 79 20 61 20 64 65 |...Norma|lly a de|
|000010e0| 66 75 6e 20 73 74 61 72 | 74 73 20 77 68 65 6e 20 |fun star|ts when |
|000010f0| 74 68 65 72 65 20 69 73 | 20 61 6e 20 63 68 61 72 |there is| an char|
|00001100| 20 77 69 74 68 20 6f 70 | 65 6e 2d 70 61 72 65 6e | with op|en-paren|
|00001110| 74 68 65 73 69 73 0a 73 | 79 6e 74 61 78 20 61 74 |thesis.s|yntax at|
|00001120| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00001130| 66 20 61 20 6c 69 6e 65 | 2e 20 20 49 66 20 60 64 |f a line|. If `d|
|00001140| 65 66 75 6e 2d 70 72 6f | 6d 70 74 2d 72 65 67 65 |efun-pro|mpt-rege|
|00001150| 78 70 27 20 69 73 0a 6e | 6f 6e 2d 6e 69 6c 2c 20 |xp' is.n|on-nil, |
|00001160| 74 68 65 6e 20 61 20 73 | 74 72 69 6e 67 20 77 68 |then a s|tring wh|
|00001170| 69 63 68 20 6d 61 74 63 | 68 65 73 20 74 68 61 74 |ich matc|hes that|
|00001180| 20 72 65 67 65 78 70 20 | 6d 61 79 20 70 72 65 63 | regexp |may prec|
|00001190| 65 64 65 20 74 68 65 0a | 6f 70 65 6e 2d 70 61 72 |ede the.|open-par|
|000011a0| 65 6e 74 68 65 73 69 73 | 2c 20 61 6e 64 20 70 6f |enthesis|, and po|
|000011b0| 69 6e 74 20 65 6e 64 73 | 20 75 70 20 61 74 20 74 |int ends| up at t|
|000011c0| 68 65 20 62 65 67 69 6e | 6e 69 6e 67 20 6f 66 20 |he begin|ning of |
|000011d0| 74 68 65 20 6c 69 6e 65 | 2e 1f 0a 28 64 65 66 61 |the line|...(defa|
|000011e0| 6c 69 61 73 20 27 62 65 | 67 69 6e 6e 69 6e 67 2d |lias 'be|ginning-|
|000011f0| 6f 66 2d 64 65 66 75 6e | 20 23 5b 28 26 6f 70 74 |of-defun| #[(&opt|
|00001200| 69 6f 6e 61 6c 20 61 72 | 67 29 20 22 c0 09 21 ad |ional ar|g) "..!.|
|00001210| 84 c2 79 88 c3 87 22 20 | 5b 62 65 67 69 6e 6e 69 |..y..." |[beginni|
|00001220| 6e 67 2d 6f 66 2d 64 65 | 66 75 6e 2d 72 61 77 20 |ng-of-de|fun-raw |
|00001230| 61 72 67 20 30 20 74 5d | 20 32 20 28 23 24 20 2e |arg 0 t]| 2 (#$ .|
|00001240| 20 34 30 38 37 29 20 22 | 5f 70 22 5d 29 0a 23 40 | 4087) "|_p"]).#@|
|00001250| 31 39 31 20 4d 6f 76 65 | 20 70 6f 69 6e 74 20 74 |191 Move| point t|
|00001260| 6f 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 20 |o the ch|aracter |
|00001270| 74 68 61 74 20 73 74 61 | 72 74 73 20 61 20 64 65 |that sta|rts a de|
|00001280| 66 75 6e 2e 0a 54 68 69 | 73 20 69 73 20 69 64 65 |fun..Thi|s is ide|
|00001290| 6e 74 69 63 61 6c 20 74 | 6f 20 62 65 67 69 6e 6e |ntical t|o beginn|
|000012a0| 69 6e 67 2d 6f 66 2d 64 | 65 66 75 6e 2c 20 65 78 |ing-of-d|efun, ex|
|000012b0| 63 65 70 74 20 74 68 61 | 74 20 70 6f 69 6e 74 20 |cept tha|t point |
|000012c0| 64 6f 65 73 20 6e 6f 74 | 20 6d 6f 76 65 0a 74 6f |does not| move.to|
|000012d0| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|000012e0| 66 20 74 68 65 20 6c 69 | 6e 65 20 77 68 65 6e 20 |f the li|ne when |
|000012f0| 60 64 65 66 75 6e 2d 70 | 72 6f 6d 70 74 2d 72 65 |`defun-p|rompt-re|
|00001300| 67 65 78 70 27 20 69 73 | 20 6e 6f 6e 2d 6e 69 6c |gexp' is| non-nil|
|00001310| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 62 65 |...(defa|lias 'be|
|00001320| 67 69 6e 6e 69 6e 67 2d | 6f 66 2d 64 65 66 75 6e |ginning-|of-defun|
|00001330| 2d 72 61 77 20 23 5b 28 | 26 6f 70 74 69 6f 6e 61 |-raw #[(|&optiona|
|00001340| 6c 20 61 72 67 29 20 22 | 08 ab 8b 08 c1 57 ab 86 |l arg) "|.....W..|
|00001350| 6d ac 83 c2 75 88 c3 0c | ab 87 c5 c6 0c c7 52 aa |m...u...|......R.|
|00001360| 81 c8 c9 ca 08 ae 81 c2 | 24 ad 87 c1 95 53 62 ad |........|$....Sb.|
|00001370| 81 cb 87 22 20 5b 61 72 | 67 20 30 20 31 20 72 65 |..." [ar|g 0 1 re|
|00001380| 2d 73 65 61 72 63 68 2d | 62 61 63 6b 77 61 72 64 |-search-|backward|
|00001390| 20 64 65 66 75 6e 2d 70 | 72 6f 6d 70 74 2d 72 65 | defun-p|rompt-re|
|000013a0| 67 65 78 70 20 22 5e 5c | 5c 73 28 5c 5c 7c 22 20 |gexp "^\|\s(\\|" |
|000013b0| 22 5c 5c 28 22 20 22 5c | 5c 29 5c 5c 73 28 22 20 |"\\(" "\|\)\\s(" |
|000013c0| 22 5e 5c 5c 73 28 22 20 | 6e 69 6c 20 6d 6f 76 65 |"^\\s(" |nil move|
|000013d0| 20 74 5d 20 35 20 28 23 | 24 20 2e 20 34 36 39 32 | t] 5 (#|$ . 4692|
|000013e0| 29 20 22 70 22 5d 29 0a | 23 40 31 32 35 20 52 65 |) "p"]).|#@125 Re|
|000013f0| 74 75 72 6e 20 60 70 6f | 69 6e 74 2d 6d 61 78 27 |turn `po|int-max'|
|00001400| 20 6f 66 20 42 55 46 46 | 45 52 20 69 66 20 41 52 | of BUFF|ER if AR|
|00001410| 47 20 69 73 20 3e 20 30 | 3b 20 72 65 74 75 72 6e |G is > 0|; return|
|00001420| 20 60 70 6f 69 6e 74 2d | 6d 69 6e 27 20 6f 74 68 | `point-|min' oth|
|00001430| 65 72 77 69 73 65 2e 0a | 42 55 46 46 45 52 20 64 |erwise..|BUFFER d|
|00001440| 65 66 61 75 6c 74 73 20 | 74 6f 20 74 68 65 20 63 |efaults |to the c|
|00001450| 75 72 72 65 6e 74 20 62 | 75 66 66 65 72 20 69 66 |urrent b|uffer if|
|00001460| 20 6f 6d 69 74 74 65 64 | 2e 1f 0a 28 64 65 66 61 | omitted|...(defa|
|00001470| 6c 69 61 73 20 27 62 75 | 66 66 65 72 2d 65 6e 64 |lias 'bu|ffer-end|
|00001480| 20 23 5b 28 61 72 67 20 | 26 6f 70 74 69 6f 6e 61 | #[(arg |&optiona|
|00001490| 6c 20 62 75 66 66 65 72 | 29 20 22 08 c1 56 ab 84 |l buffer|) "..V..|
|000014a0| c2 0b 21 87 c4 0b 21 87 | 22 20 5b 61 72 67 20 30 |..!...!.|" [arg 0|
|000014b0| 20 70 6f 69 6e 74 2d 6d | 61 78 20 62 75 66 66 65 | point-m|ax buffe|
|000014c0| 72 20 70 6f 69 6e 74 2d | 6d 69 6e 5d 20 32 20 28 |r point-|min] 2 (|
|000014d0| 23 24 20 2e 20 35 31 30 | 32 29 5d 29 0a 23 40 32 |#$ . 510|2)]).#@2|
|000014e0| 38 34 20 4d 6f 76 65 20 | 66 6f 72 77 61 72 64 20 |84 Move |forward |
|000014f0| 74 6f 20 6e 65 78 74 20 | 65 6e 64 20 6f 66 20 64 |to next |end of d|
|00001500| 65 66 75 6e 2e 20 20 57 | 69 74 68 20 61 72 67 75 |efun. W|ith argu|
|00001510| 6d 65 6e 74 2c 20 64 6f | 20 69 74 20 74 68 61 74 |ment, do| it that|
|00001520| 20 6d 61 6e 79 20 74 69 | 6d 65 73 2e 0a 4e 65 67 | many ti|mes..Neg|
|00001530| 61 74 69 76 65 20 61 72 | 67 75 6d 65 6e 74 20 2d |ative ar|gument -|
|00001540| 4e 20 6d 65 61 6e 73 20 | 6d 6f 76 65 20 62 61 63 |N means |move bac|
|00001550| 6b 20 74 6f 20 4e 74 68 | 20 70 72 65 63 65 64 69 |k to Nth| precedi|
|00001560| 6e 67 20 65 6e 64 20 6f | 66 20 64 65 66 75 6e 2e |ng end o|f defun.|
|00001570| 0a 0a 41 6e 20 65 6e 64 | 20 6f 66 20 61 20 64 65 |..An end| of a de|
|00001580| 66 75 6e 20 6f 63 63 75 | 72 73 20 72 69 67 68 74 |fun occu|rs right|
|00001590| 20 61 66 74 65 72 20 74 | 68 65 20 63 6c 6f 73 65 | after t|he close|
|000015a0| 2d 70 61 72 65 6e 74 68 | 65 73 69 73 20 74 68 61 |-parenth|esis tha|
|000015b0| 74 20 6d 61 74 63 68 65 | 73 0a 74 68 65 20 6f 70 |t matche|s.the op|
|000015c0| 65 6e 2d 70 61 72 65 6e | 74 68 65 73 69 73 20 74 |en-paren|thesis t|
|000015d0| 68 61 74 20 73 74 61 72 | 74 73 20 61 20 64 65 66 |hat star|ts a def|
|000015e0| 75 6e 3b 20 73 65 65 20 | 60 62 65 67 69 6e 6e 69 |un; see |`beginni|
|000015f0| 6e 67 2d 6f 66 2d 64 65 | 66 75 6e 27 2e 1f 0a 28 |ng-of-de|fun'...(|
|00001600| 64 65 66 61 6c 69 61 73 | 20 27 65 6e 64 2d 6f 66 |defalias| 'end-of|
|00001610| 2d 64 65 66 75 6e 20 23 | 5b 28 26 6f 70 74 69 6f |-defun #|[(&optio|
|00001620| 6e 61 6c 20 61 72 67 29 | 20 22 08 ab 85 08 c1 55 |nal arg)| ".....U|
|00001630| ab 82 c2 10 c3 1c 08 c1 | 56 ab ba 60 64 57 ab b5 |........|V..`dW..|
|00001640| 60 1d 0c ab 88 c2 7f 88 | c6 c2 21 ac 8a 6f ac 83 |`.......|..!..o..|
|00001650| c7 75 88 c6 c7 21 88 c8 | 14 c9 c2 21 88 ca c8 77 |.u...!..|...!...w|
|00001660| 88 cb cc 21 ab 83 c2 79 | 88 60 0d 58 ac 54 29 08 |...!...y|.`.X.T).|
|00001670| 53 89 10 aa 42 08 c1 57 | ad b3 60 1d c6 c2 21 88 |S...B..W|..`...!.|
|00001680| cd c2 21 88 c2 79 88 60 | 0d 59 ab 9a c6 ce 21 ab |..!..y.`|.Y....!.|
|00001690| 92 c9 c2 21 88 ca c8 77 | 88 cb cc 21 ab 88 c2 79 |...!...w|...!...y|
|000016a0| 88 aa 83 65 62 88 29 08 | 54 89 10 aa 49 29 87 22 |...eb.).|T...I)."|
|000016b0| 20 5b 61 72 67 20 30 20 | 31 20 74 20 66 69 72 73 | [arg 0 |1 t firs|
|000016c0| 74 20 70 6f 73 20 62 65 | 67 69 6e 6e 69 6e 67 2d |t pos be|ginning-|
|000016d0| 6f 66 2d 64 65 66 75 6e | 2d 72 61 77 20 2d 31 20 |of-defun|-raw -1 |
|000016e0| 6e 69 6c 20 66 6f 72 77 | 61 72 64 2d 6c 69 73 74 |nil forw|ard-list|
|000016f0| 20 22 20 09 22 20 6c 6f | 6f 6b 69 6e 67 2d 61 74 | " ." lo|oking-at|
|00001700| 20 22 5c 5c 73 3c 5c 5c | 7c 5c 6e 22 20 66 6f 72 | "\\s<\\||\n" for|
|00001710| 77 61 72 64 2d 73 65 78 | 70 20 32 5d 20 33 20 28 |ward-sex|p 2] 3 (|
|00001720| 23 24 20 2e 20 35 33 34 | 37 29 20 22 5f 70 22 5d |#$ . 534|7) "_p"]|
|00001730| 29 0a 23 40 31 31 38 20 | 50 75 74 20 6d 61 72 6b |).#@118 |Put mark|
|00001740| 20 61 74 20 65 6e 64 20 | 6f 66 20 74 68 69 73 20 | at end |of this |
|00001750| 64 65 66 75 6e 2c 20 70 | 6f 69 6e 74 20 61 74 20 |defun, p|oint at |
|00001760| 62 65 67 69 6e 6e 69 6e | 67 2e 0a 54 68 65 20 64 |beginnin|g..The d|
|00001770| 65 66 75 6e 20 6d 61 72 | 6b 65 64 20 69 73 20 74 |efun mar|ked is t|
|00001780| 68 65 20 6f 6e 65 20 74 | 68 61 74 20 63 6f 6e 74 |he one t|hat cont|
|00001790| 61 69 6e 73 20 70 6f 69 | 6e 74 20 6f 72 20 66 6f |ains poi|nt or fo|
|000017a0| 6c 6c 6f 77 73 20 70 6f | 69 6e 74 2e 1f 0a 28 64 |llows po|int...(d|
|000017b0| 65 66 61 6c 69 61 73 20 | 27 6d 61 72 6b 2d 64 65 |efalias |'mark-de|
|000017c0| 66 75 6e 20 23 5b 6e 69 | 6c 20 22 c0 60 21 88 c1 |fun #[ni|l ".`!..|
|000017d0| 20 88 c0 60 c2 c3 23 88 | c4 20 88 c5 c6 60 53 c3 | ..`..#.|. ...`S.|
|000017e0| 23 87 22 20 5b 70 75 73 | 68 2d 6d 61 72 6b 20 65 |#." [pus|h-mark e|
|000017f0| 6e 64 2d 6f 66 2d 64 65 | 66 75 6e 20 6e 69 6c 20 |nd-of-de|fun nil |
|00001800| 74 20 62 65 67 69 6e 6e | 69 6e 67 2d 6f 66 2d 64 |t beginn|ing-of-d|
|00001810| 65 66 75 6e 20 72 65 2d | 73 65 61 72 63 68 2d 62 |efun re-|search-b|
|00001820| 61 63 6b 77 61 72 64 20 | 22 5e 5c 6e 22 5d 20 34 |ackward |"^\n"] 4|
|00001830| 20 28 23 24 20 2e 20 35 | 39 34 34 29 20 6e 69 6c | (#$ . 5|944) nil|
|00001840| 5d 29 0a 23 40 31 31 31 | 20 4d 61 6b 65 20 74 65 |]).#@111| Make te|
|00001850| 78 74 20 6f 75 74 73 69 | 64 65 20 63 75 72 72 65 |xt outsi|de curre|
|00001860| 6e 74 20 64 65 66 75 6e | 20 69 6e 76 69 73 69 62 |nt defun| invisib|
|00001870| 6c 65 2e 0a 54 68 65 20 | 64 65 66 75 6e 20 76 69 |le..The |defun vi|
|00001880| 73 69 62 6c 65 20 69 73 | 20 74 68 65 20 6f 6e 65 |sible is| the one|
|00001890| 20 74 68 61 74 20 63 6f | 6e 74 61 69 6e 73 20 70 | that co|ntains p|
|000018a0| 6f 69 6e 74 20 6f 72 20 | 66 6f 6c 6c 6f 77 73 20 |oint or |follows |
|000018b0| 70 6f 69 6e 74 2e 1f 0a | 28 64 65 66 61 6c 69 61 |point...|(defalia|
|000018c0| 73 20 27 6e 61 72 72 6f | 77 2d 74 6f 2d 64 65 66 |s 'narro|w-to-def|
|000018d0| 75 6e 20 23 5b 28 26 6f | 70 74 69 6f 6e 61 6c 20 |un #[(&o|ptional |
|000018e0| 61 72 67 29 20 22 8a 7e | 88 c0 20 88 60 19 c2 20 |arg) ".~|.. .`.. |
|000018f0| 88 60 09 7d 2a 87 22 20 | 5b 65 6e 64 2d 6f 66 2d |.`.}*." |[end-of-|
|00001900| 64 65 66 75 6e 20 65 6e | 64 20 62 65 67 69 6e 6e |defun en|d beginn|
|00001910| 69 6e 67 2d 6f 66 2d 64 | 65 66 75 6e 5d 20 32 20 |ing-of-d|efun] 2 |
|00001920| 28 23 24 20 2e 20 36 32 | 31 37 29 20 6e 69 6c 5d |(#$ . 62|17) nil]|
|00001930| 29 0a 23 40 33 34 32 20 | 45 6e 63 6c 6f 73 65 20 |).#@342 |Enclose |
|00001940| 66 6f 6c 6c 6f 77 69 6e | 67 20 41 52 47 20 73 65 |followin|g ARG se|
|00001950| 78 70 73 20 69 6e 20 70 | 61 72 65 6e 74 68 65 73 |xps in p|arenthes|
|00001960| 65 73 2e 20 20 4c 65 61 | 76 65 20 70 6f 69 6e 74 |es. Lea|ve point|
|00001970| 20 61 66 74 65 72 20 6f | 70 65 6e 2d 70 61 72 65 | after o|pen-pare|
|00001980| 6e 2e 0a 41 20 6e 65 67 | 61 74 69 76 65 20 41 52 |n..A neg|ative AR|
|00001990| 47 20 65 6e 63 6c 6f 73 | 65 73 20 74 68 65 20 70 |G enclos|es the p|
|000019a0| 72 65 63 65 64 69 6e 67 | 20 41 52 47 20 73 65 78 |receding| ARG sex|
|000019b0| 70 73 20 69 6e 73 74 65 | 61 64 2e 0a 4e 6f 20 61 |ps inste|ad..No a|
|000019c0| 72 67 75 6d 65 6e 74 20 | 69 73 20 65 71 75 69 76 |rgument |is equiv|
|000019d0| 61 6c 65 6e 74 20 74 6f | 20 7a 65 72 6f 3a 20 6a |alent to| zero: j|
|000019e0| 75 73 74 20 69 6e 73 65 | 72 74 20 60 28 29 27 20 |ust inse|rt `()' |
|000019f0| 61 6e 64 20 6c 65 61 76 | 65 20 70 6f 69 6e 74 20 |and leav|e point |
|00001a00| 62 65 74 77 65 65 6e 2e | 0a 49 66 20 60 70 61 72 |between.|.If `par|
|00001a10| 65 6e 73 2d 72 65 71 75 | 69 72 65 2d 73 70 61 63 |ens-requ|ire-spac|
|00001a20| 65 73 27 20 69 73 20 6e | 6f 6e 2d 6e 69 6c 2c 20 |es' is n|on-nil, |
|00001a30| 74 68 69 73 20 63 6f 6d | 6d 61 6e 64 20 61 6c 73 |this com|mand als|
|00001a40| 6f 20 69 6e 73 65 72 74 | 73 20 61 20 73 70 61 63 |o insert|s a spac|
|00001a50| 65 0a 62 65 66 6f 72 65 | 20 61 6e 64 20 61 66 74 |e.before| and aft|
|00001a60| 65 72 2c 20 64 65 70 65 | 6e 64 69 6e 67 20 6f 6e |er, depe|nding on|
|00001a70| 20 74 68 65 20 73 75 72 | 72 6f 75 6e 64 69 6e 67 | the sur|rounding|
|00001a80| 20 63 68 61 72 61 63 74 | 65 72 73 2e 1f 0a 28 64 | charact|ers...(d|
|00001a90| 65 66 61 6c 69 61 73 20 | 27 69 6e 73 65 72 74 2d |efalias |'insert-|
|00001aa0| 70 61 72 65 6e 74 68 65 | 73 65 73 20 23 5b 28 61 |parenthe|ses #[(a|
|00001ab0| 72 67 29 20 22 08 ab 86 | c1 08 21 10 aa 82 c2 10 |rg) "...|..!.....|
|00001ac0| 08 c2 56 ab 86 c3 c4 77 | 88 aa 8c 08 c2 57 ab 87 |..V....w|.....W..|
|00001ad0| c5 08 21 88 08 5b 10 0e | 06 ab 8e 6f ac 8b c7 60 |..!..[..|...o...`|
|00001ae0| 21 7a c8 73 ab 83 c9 63 | 88 ca 63 88 8a 08 c2 61 |!z.s...c|..c....a|
|00001af0| ac 84 c5 08 21 88 cb 63 | 88 0e 06 ad 8d 6d 3f ad |....!..c|.....m?.|
|00001b00| 89 60 66 7a cc 73 ad 82 | c9 63 29 87 22 20 5b 61 |.`fz.s..|.c)." [a|
|00001b10| 72 67 20 70 72 65 66 69 | 78 2d 6e 75 6d 65 72 69 |rg prefi|x-numeri|
|00001b20| 63 2d 76 61 6c 75 65 20 | 30 20 22 20 09 22 20 6e |c-value |0 " ." n|
|00001b30| 69 6c 20 66 6f 72 77 61 | 72 64 2d 73 65 78 70 20 |il forwa|rd-sexp |
|00001b40| 70 61 72 65 6e 73 2d 72 | 65 71 75 69 72 65 2d 73 |parens-r|equire-s|
|00001b50| 70 61 63 65 73 20 63 68 | 61 72 2d 62 65 66 6f 72 |paces ch|ar-befor|
|00001b60| 65 20 28 3f 77 20 3f 5c | 5f 20 3f 5c 29 29 20 22 |e (?w ?\|_ ?\)) "|
|00001b70| 20 22 20 3f 5c 28 20 3f | 5c 29 20 28 3f 77 20 3f | " ?\( ?|\) (?w ?|
|00001b80| 5c 5f 20 3f 5c 28 29 5d | 20 32 20 28 23 24 20 2e |\_ ?\()]| 2 (#$ .|
|00001b90| 20 36 34 35 36 29 20 22 | 50 22 5d 29 0a 23 40 37 | 6456) "|P"]).#@7|
|00001ba0| 33 20 4d 6f 76 65 20 70 | 61 73 74 20 6e 65 78 74 |3 Move p|ast next|
|00001bb0| 20 60 29 27 2c 20 64 65 | 6c 65 74 65 20 69 6e 64 | `)', de|lete ind|
|00001bc0| 65 6e 74 61 74 69 6f 6e | 20 62 65 66 6f 72 65 20 |entation| before |
|00001bd0| 69 74 2c 20 74 68 65 6e | 20 69 6e 64 65 6e 74 20 |it, then| indent |
|00001be0| 61 66 74 65 72 20 69 74 | 2e 1f 0a 28 64 65 66 61 |after it|...(defa|
|00001bf0| 6c 69 61 73 20 27 6d 6f | 76 65 2d 70 61 73 74 2d |lias 'mo|ve-past-|
|00001c00| 63 6c 6f 73 65 2d 61 6e | 64 2d 72 65 69 6e 64 65 |close-an|d-reinde|
|00001c10| 6e 74 20 23 5b 6e 69 6c | 20 22 c0 c1 21 88 c2 75 |nt #[nil| "..!..u|
|00001c20| 88 8a 60 1b c4 20 88 60 | 0b 55 2a ab 85 c5 20 88 |..`.. .`|.U*... .|
|00001c30| aa 6f c1 75 88 c6 20 87 | 22 20 5b 75 70 2d 6c 69 |.o.u.. .|" [up-li|
|00001c40| 73 74 20 31 20 2d 31 20 | 62 65 66 6f 72 65 2d 70 |st 1 -1 |before-p|
|00001c50| 61 72 65 6e 20 62 61 63 | 6b 2d 74 6f 2d 69 6e 64 |aren bac|k-to-ind|
|00001c60| 65 6e 74 61 74 69 6f 6e | 20 64 65 6c 65 74 65 2d |entation| delete-|
|00001c70| 69 6e 64 65 6e 74 61 74 | 69 6f 6e 20 6e 65 77 6c |indentat|ion newl|
|00001c80| 69 6e 65 2d 61 6e 64 2d | 69 6e 64 65 6e 74 5d 20 |ine-and-|indent] |
|00001c90| 32 20 28 23 24 20 2e 20 | 37 30 37 34 29 20 6e 69 |2 (#$ . |7074) ni|
|00001ca0| 6c 5d 29 0a 23 40 33 35 | 34 20 50 65 72 66 6f 72 |l]).#@35|4 Perfor|
|00001cb0| 6d 20 63 6f 6d 70 6c 65 | 74 69 6f 6e 20 6f 6e 20 |m comple|tion on |
|00001cc0| 4c 69 73 70 20 73 79 6d | 62 6f 6c 20 70 72 65 63 |Lisp sym|bol prec|
|00001cd0| 65 64 69 6e 67 20 70 6f | 69 6e 74 2e 0a 43 6f 6d |eding po|int..Com|
|00001ce0| 70 61 72 65 20 74 68 61 | 74 20 73 79 6d 62 6f 6c |pare tha|t symbol|
|00001cf0| 20 61 67 61 69 6e 73 74 | 20 74 68 65 20 6b 6e 6f | against| the kno|
|00001d00| 77 6e 20 4c 69 73 70 20 | 73 79 6d 62 6f 6c 73 2e |wn Lisp |symbols.|
|00001d10| 0a 0a 54 68 65 20 63 6f | 6e 74 65 78 74 20 64 65 |..The co|ntext de|
|00001d20| 74 65 72 6d 69 6e 65 73 | 20 77 68 69 63 68 20 73 |termines| which s|
|00001d30| 79 6d 62 6f 6c 73 20 61 | 72 65 20 63 6f 6e 73 69 |ymbols a|re consi|
|00001d40| 64 65 72 65 64 2e 0a 49 | 66 20 74 68 65 20 73 79 |dered..I|f the sy|
|00001d50| 6d 62 6f 6c 20 73 74 61 | 72 74 73 20 6a 75 73 74 |mbol sta|rts just|
|00001d60| 20 61 66 74 65 72 20 61 | 6e 20 6f 70 65 6e 2d 70 | after a|n open-p|
|00001d70| 61 72 65 6e 74 68 65 73 | 69 73 2c 20 6f 6e 6c 79 |arenthes|is, only|
|00001d80| 20 73 79 6d 62 6f 6c 73 | 0a 77 69 74 68 20 66 75 | symbols|.with fu|
|00001d90| 6e 63 74 69 6f 6e 20 64 | 65 66 69 6e 69 74 69 6f |nction d|efinitio|
|00001da0| 6e 73 20 61 72 65 20 63 | 6f 6e 73 69 64 65 72 65 |ns are c|onsidere|
|00001db0| 64 2e 20 20 4f 74 68 65 | 72 77 69 73 65 2c 20 61 |d. Othe|rwise, a|
|00001dc0| 6c 6c 20 73 79 6d 62 6f | 6c 73 20 77 69 74 68 0a |ll symbo|ls with.|
|00001dd0| 66 75 6e 63 74 69 6f 6e | 20 64 65 66 69 6e 69 74 |function| definit|
|00001de0| 69 6f 6e 73 2c 20 76 61 | 6c 75 65 73 20 6f 72 20 |ions, va|lues or |
|00001df0| 70 72 6f 70 65 72 74 69 | 65 73 20 61 72 65 20 63 |properti|es are c|
|00001e00| 6f 6e 73 69 64 65 72 65 | 64 2e 1f 0a 28 64 65 66 |onsidere|d...(def|
|00001e10| 61 6c 69 61 73 20 27 6c | 69 73 70 2d 63 6f 6d 70 |alias 'l|isp-comp|
|00001e20| 6c 65 74 65 2d 73 79 6d | 62 6f 6c 20 23 5b 6e 69 |lete-sym|bol #[ni|
|00001e30| 6c 20 22 60 18 c1 20 1a | c3 8e 8a 0c ab 84 c5 0c |l "`.. .|........|
|00001e40| 21 88 c6 c7 21 88 60 66 | 7a c8 61 ab 85 c7 75 88 |!...!.`f|z.a...u.|
|00001e50| aa 74 60 2a 89 1e 09 08 | 7b 1e 5c 6e 0e 09 53 66 |.t`*....|{.\n..Sf|
|00001e60| cb 61 ab 83 cc aa 81 cd | 1e 0e cf 0e 5c 6e 0e 10 |.a......|....\n..|
|00001e70| 0e 0e 23 89 1e 11 d2 61 | ae ed 0e 11 ac 8a d3 d4 |..#....a|........|
|00001e80| 0e 5c 6e 5c 22 88 d5 20 | aa df 0e 5c 6e 0e 11 98 |.\n\".. |...\n...|
|00001e90| ac 8a 0e 09 08 7c 88 0e | 11 63 aa ce d3 d6 21 88 |.....|..|.c....!.|
|00001ea0| d7 0e 5c 6e 0e 10 0e 0e | 23 1e 18 0e 0e cc 61 ac |..\n....|#.....a.|
|00001eb0| ad d9 1e 1a 0e 18 ab a0 | cc db 0e 18 40 21 21 ab |........|....@!!.|
|00001ec0| 87 0e 18 40 dc 44 aa 83 | 0e 18 40 0e 1a 42 16 1a |...@.D..|..@..B..|
|00001ed0| 0e 18 41 89 16 18 ac 60 | 0e 1a 9f 16 18 29 dd 90 |..A....`|.....)..|
|00001ee0| de 0e 18 21 91 88 29 d3 | df e0 5c 22 2e 06 87 22 |...!..).|..\"..."|
|00001ef0| 20 5b 65 6e 64 20 73 79 | 6e 74 61 78 2d 74 61 62 | [end sy|ntax-tab|
|00001f00| 6c 65 20 62 75 66 66 65 | 72 2d 73 79 6e 74 61 78 |le buffe|r-syntax|
|00001f10| 20 28 28 73 65 74 2d 73 | 79 6e 74 61 78 2d 74 61 | ((set-s|yntax-ta|
|00001f20| 62 6c 65 20 62 75 66 66 | 65 72 2d 73 79 6e 74 61 |ble buff|er-synta|
|00001f30| 78 29 29 20 65 6d 61 63 | 73 2d 6c 69 73 70 2d 6d |x)) emac|s-lisp-m|
|00001f40| 6f 64 65 2d 73 79 6e 74 | 61 78 2d 74 61 62 6c 65 |ode-synt|ax-table|
|00001f50| 20 73 65 74 2d 73 79 6e | 74 61 78 2d 74 61 62 6c | set-syn|tax-tabl|
|00001f60| 65 20 62 61 63 6b 77 61 | 72 64 2d 73 65 78 70 20 |e backwa|rd-sexp |
|00001f70| 31 20 3f 5c 27 20 62 65 | 67 20 70 61 74 74 65 72 |1 ?\' be|g patter|
|00001f80| 6e 20 3f 5c 28 20 66 62 | 6f 75 6e 64 70 20 23 5b |n ?\( fb|oundp #[|
|00001f90| 28 73 79 6d 29 20 22 c0 | 09 21 ae 88 c2 09 21 ae |(sym) ".|.!....!.|
|00001fa0| 83 c3 09 21 87 22 20 5b | 62 6f 75 6e 64 70 20 73 |...!." [|boundp s|
|00001fb0| 79 6d 20 66 62 6f 75 6e | 64 70 20 73 79 6d 62 6f |ym fboun|dp symbo|
|00001fc0| 6c 2d 70 6c 69 73 74 5d | 20 32 5d 20 70 72 65 64 |l-plist]| 2] pred|
|00001fd0| 69 63 61 74 65 20 74 72 | 79 2d 63 6f 6d 70 6c 65 |icate tr|y-comple|
|00001fe0| 74 69 6f 6e 20 6f 62 61 | 72 72 61 79 20 63 6f 6d |tion oba|rray com|
|00001ff0| 70 6c 65 74 69 6f 6e 20 | 74 20 6d 65 73 73 61 67 |pletion |t messag|
|00002000| 65 20 22 43 61 6e 27 74 | 20 66 69 6e 64 20 63 6f |e "Can't| find co|
|00002010| 6d 70 6c 65 74 69 6f 6e | 20 66 6f 72 20 5c 22 25 |mpletion| for \"%|
|00002020| 73 5c 22 22 20 64 69 6e | 67 20 22 4d 61 6b 69 6e |s\"" din|g "Makin|
|00002030| 67 20 63 6f 6d 70 6c 65 | 74 69 6f 6e 20 6c 69 73 |g comple|tion lis|
|00002040| 74 2e 2e 2e 22 20 61 6c | 6c 2d 63 6f 6d 70 6c 65 |t..." al|l-comple|
|00002050| 74 69 6f 6e 73 20 6c 69 | 73 74 20 6e 69 6c 20 6e |tions li|st nil n|
|00002060| 65 77 20 69 6e 74 65 72 | 6e 20 22 20 3c 66 3e 22 |ew inter|n " <f>"|
|00002070| 20 22 2a 43 6f 6d 70 6c | 65 74 69 6f 6e 73 2a 22 | "*Compl|etions*"|
|00002080| 20 64 69 73 70 6c 61 79 | 2d 63 6f 6d 70 6c 65 74 | display|-complet|
|00002090| 69 6f 6e 2d 6c 69 73 74 | 20 22 4d 61 6b 69 6e 67 |ion-list| "Making|
|000020a0| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 20 6c 69 73 74 | complet|ion list|
|000020b0| 2e 2e 2e 25 73 22 20 22 | 64 6f 6e 65 22 5d 20 35 |...%s" "|done"] 5|
|000020c0| 20 28 23 24 20 2e 20 37 | 33 33 38 29 20 6e 69 6c | (#$ . 7|338) nil|
|000020d0| 5d 29 0a | |]). | |
+--------+-------------------------+-------------------------+--------+--------+